﻿using Microsoft.Data.Edm;
using System;
namespace System.Data.Services.Providers
{
    /// <summary>
    /// Extends <see cref="T:Microsoft.Data.Edm.IEdmType" /> to expose the <see cref="P:System.Data.Services.Providers.IResourceTypeBasedEdmType.ResourceType" /> that the type was based on.
    /// </summary>
    internal interface IResourceTypeBasedEdmType : IEdmType, IEdmElement
    {
        /// <summary>
        /// The resource-type that this type was created from.
        /// </summary>
        ResourceType ResourceType
        {
            get;
        }
    }
}